package com.th.supcom.pds.phamapply.client.model;

import java.util.Date;

import com.extjs.gxt.ui.client.data.BaseModelData;

/**
 * PdsInpPhamDispenseDetail UI模型.
 * 
 * 住院摆药明细表.
 */
public class InpPhamDispenseDetailModel extends BaseModelData implements java.io.Serializable
{

    private static final long serialVersionUID = 1L;

    /**
     * 默认构造器 .
     */
    public InpPhamDispenseDetailModel ()
    {
    }

    /**
     * 获取allocation
     * 
     * @return the allocation
     */
    public String getAllocation ()
    {

        return get ("allocation");
    }

    /**
     * 获取allocation
     * 
     * @param allocation the allocation to set.
     */
    public void setAllocation (String allocation)
    {
        set ("allocation", allocation);
    }

    /**
     * 获取主键.
     * 
     * @return the inpPhamDispenseDetailId
     */
    public Long getInpPhamDispenseDetailId ()
    {
        return get ("inpPhamDispenseDetailId");
    }

    /**
     * 设置主键.
     * 
     * @param inpPhamDispenseDetailId the inpPhamDispenseDetailId to set.
     */
    public void setInpPhamDispenseDetailId (Long inpPhamDispenseDetailId)
    {
        set ("inpPhamDispenseDetailId", inpPhamDispenseDetailId);
    }

    /**
     * 获取请领单据号.
     * 
     * @return the applyNo
     */
    public String getApplyNo ()
    {
        return get ("applyNo");
    }

    /**
     * 设置请领单据号.
     * 
     * @param applyNo the applyNo to set.
     */
    public void setApplyNo (String applyNo)
    {
        set ("applyNo", applyNo);
    }

    /**
     * 获取请领明细主键.
     * 
     * @return the inpPhamApplyDetailId
     */
    public Long getInpPhamApplyDetailId ()
    {
        return get ("inpPhamApplyDetailId");
    }

    /**
     * 设置请领明细主键.
     * 
     * @param inpPhamApplyDetailId the inpPhamApplyDetailId to set.
     */
    public void setInpPhamApplyDetailId (Long inpPhamApplyDetailId)
    {
        set ("inpPhamApplyDetailId", inpPhamApplyDetailId);
    }

    /**
     * 获取医嘱序号.
     * 
     * @return the orderNo
     */
    public Long getOrderNo ()
    {
        return get ("orderNo");
    }

    /**
     * 设置医嘱序号.
     * 
     * @param orderNo the orderNo to set.
     */
    public void setOrderNo (Long orderNo)
    {
        set ("orderNo", orderNo);
    }

    /**
     * 获取医嘱子序号.
     * 
     * @return the orderSubNo
     */
    public Long getOrderSubNo ()
    {
        return get ("orderSubNo");
    }

    /**
     * 设置医嘱子序号.
     * 
     * @param orderSubNo the orderSubNo to set.
     */
    public void setOrderSubNo (Long orderSubNo)
    {
        set ("orderSubNo", orderSubNo);
    }

    /**
     * 获取出入库单据号.
     * 
     * @return the stockNo
     */
    public String getStockNo ()
    {
        return get ("stockNo");
    }

    /**
     * 设置出入库单据号.
     * 
     * @param stockNo the stockNo to set.
     */
    public void setStockNo (String stockNo)
    {
        set ("stockNo", stockNo);
    }

    /**
     * 获取收费单据号.
     * 
     * @return the rekNo
     */
    public Long getRekNo ()
    {
        return get ("rekNo");
    }

    /**
     * 设置收费单据号.
     * 
     * @param rekNo the rekNo to set.
     */
    public void setRekNo (Long rekNo)
    {
        set ("rekNo", rekNo);
    }

    /**
     * 获取患者住院流水号.
     * 
     * @return the paiVisitId
     */
    public Long getPaiVisitId ()
    {
        return get ("paiVisitId");
    }

    /**
     * 设置患者住院流水号.
     * 
     * @param paiVisitId the paiVisitId to set.
     */
    public void setPaiVisitId (Long paiVisitId)
    {
        set ("paiVisitId", paiVisitId);
    }

    /**
     * 获取护理单元.
     * 
     * @return the nurseUnit
     */
    public String getNurseUnit ()
    {
        return get ("nurseUnit");
    }

    /**
     * 设置护理单元.
     * 
     * @param nurseUnit the nurseUnit to set.
     */
    public void setNurseUnit (String nurseUnit)
    {
        set ("nurseUnit", nurseUnit);
    }

    /**
     * 获取患者所在病区.
     * 
     * @return the ward
     */
    public String getWard ()
    {
        return get ("ward");
    }

    /**
     * 设置患者所在病区.
     * 
     * @param ward the ward to set.
     */
    public void setWard (String ward)
    {
        set ("ward", ward);
    }

    /**
     * 获取床位号.
     * 
     * @return the bedNo
     */
    public String getBedNo ()
    {
        return get ("bedNo");
    }

    /**
     * 设置床位号.
     * 
     * @param bedNo the bedNo to set.
     */
    public void setBedNo (String bedNo)
    {
        set ("bedNo", bedNo);
    }

    /**
     * 获取药品标准码.
     * 
     * @return the phamStdCode
     */
    public String getPhamStdCode ()
    {
        return get ("phamStdCode");
    }

    /**
     * 设置药品标准码.
     * 
     * @param phamStdCode the phamStdCode to set.
     */
    public void setPhamStdCode (String phamStdCode)
    {
        set ("phamStdCode", phamStdCode);
    }

    /**
     * 获取药品名称.
     * 
     * @return the phamName
     */
    public String getPhamName ()
    {
        return get ("phamName");
    }

    /**
     * 设置药品名称.
     * 
     * @param phamName the phamName to set.
     */
    public void setPhamName (String phamName)
    {
        set ("phamName", phamName);
    }

    /**
     * 获取药品规格.
     * 
     * @return the phamSpec
     */
    public String getPhamSpec ()
    {
        return get ("phamSpec");
    }

    /**
     * 设置药品规格.
     * 
     * @param phamSpec the phamSpec to set.
     */
    public void setPhamSpec (String phamSpec)
    {
        set ("phamSpec", phamSpec);
    }

    /**
     * 获取药品单位.
     * 
     * @return the phamUnit
     */
    public String getPhamUnit ()
    {
        return get ("phamUnit");
    }

    /**
     * 设置药品单位.
     * 
     * @param phamUnit the phamUnit to set.
     */
    public void setPhamUnit (String phamUnit)
    {
        set ("phamUnit", phamUnit);
    }

    /**
     * 获取申请数量.
     * 
     * @return the applyAmount
     */
    public Long getApplyAmount ()
    {
        return get ("applyAmount");
    }

    /**
     * 设置申请数量.
     * 
     * @param applyAmount the applyAmount to set.
     */
    public void setApplyAmount (Long applyAmount)
    {
        set ("applyAmount", applyAmount);
    }

    /**
     * 获取执行数量.
     * 
     * @return the dispenseAmount
     */
    public Long getDispenseAmount ()
    {
        return get ("dispenseAmount");
    }

    /**
     * 设置执行数量.
     * 
     * @param dispenseAmount the dispenseAmount to set.
     */
    public void setDispenseAmount (Long dispenseAmount)
    {
        set ("dispenseAmount", dispenseAmount);
    }

    /**
     * 获取药品申请单位对应最小可用单位换算系数.
     * 
     * @return the factor
     */
    public Integer getFactor ()
    {
        return get ("factor");
    }

    /**
     * 设置药品申请单位对应最小可用单位换算系数.
     * 
     * @param factor the factor to set.
     */
    public void setFactor (Integer factor)
    {
        set ("factor", factor);
    }

    /**
     * 获取执行药房.
     * 
     * @return the performDispensary
     */
    public String getPerformDispensary ()
    {
        return get ("performDispensary");
    }

    /**
     * 设置执行药房.
     * 
     * @param performDispensary the performDispensary to set.
     */
    public void setPerformDispensary (String performDispensary)
    {
        set ("performDispensary", performDispensary);
    }

    /**
     * 获取应收.
     * 
     * @return the costs
     */
    public Double getCosts ()
    {
        return get ("costs");
    }

    /**
     * 设置应收.
     * 
     * @param costs the costs to set.
     */
    public void setCosts (Double costs)
    {
        set ("costs", costs);
    }

    /**
     * 获取实收.
     * 
     * @return the charges
     */
    public Double getCharges ()
    {
        return get ("charges");
    }

    /**
     * 设置实收.
     * 
     * @param charges the charges to set.
     */
    public void setCharges (Double charges)
    {
        set ("charges", charges);
    }

    /**
     * 获取0=未记账 1=已记账 2=退药已申请 3=已退费 .
     * 
     * @return the chargeIndicator
     */
    public String getChargeIndicator ()
    {
        return get ("chargeIndicator");
    }

    /**
     * 设置0=未记账 1=已记账 2=退药已申请 3=已退费 .
     * 
     * @param chargeIndicator the chargeIndicator to set.
     */
    public void setChargeIndicator (String chargeIndicator)
    {
        set ("chargeIndicator", chargeIndicator);
    }

    /**
     * 获取A=已请领 B=分拣 C=已发药 D=退药已申请 E=已退费未退药 F=已退药入库.
     * 
     * @return the dispenseIndicator
     */
    public String getDispenseIndicator ()
    {
        return get ("dispenseIndicator");
    }

    /**
     * 设置A=已请领 B=分拣 C=已发药 D=退药已申请 E=已退费未退药 F=已退药入库.
     * 
     * @param dispenseIndicator the dispenseIndicator to set.
     */
    public void setDispenseIndicator (String dispenseIndicator)
    {
        set ("dispenseIndicator", dispenseIndicator);
    }

    /**
     * 获取摆药人.
     * 
     * @return the dispenseBy
     */
    public String getDispenseBy ()
    {
        return get ("dispenseBy");
    }

    /**
     * 设置摆药人.
     * 
     * @param dispenseBy the dispenseBy to set.
     */
    public void setDispenseBy (String dispenseBy)
    {
        set ("dispenseBy", dispenseBy);
    }

    /**
     * 获取摆药时间.
     * 
     * @return the dispenseDatetime
     */
    public Date getDispenseDatetime ()
    {
        return get ("dispenseDatetime");
    }

    /**
     * 设置摆药时间.
     * 
     * @param dispenseDatetime the dispenseDatetime to set.
     */
    public void setDispenseDatetime (Date dispenseDatetime)
    {
        set ("dispenseDatetime", dispenseDatetime);
    }

    /**
     * 获取核对发药人.
     * 
     * @return the checkBy
     */
    public String getCheckBy ()
    {
        return get ("checkBy");
    }

    /**
     * 设置核对发药人.
     * 
     * @param checkBy the checkBy to set.
     */
    public void setCheckBy (String checkBy)
    {
        set ("checkBy", checkBy);
    }

    /**
     * 获取核对时间.
     * 
     * @return the checkDatetime
     */
    public Date getCheckDatetime ()
    {
        return get ("checkDatetime");
    }

    /**
     * 设置核对时间.
     * 
     * @param checkDatetime the checkDatetime to set.
     */
    public void setCheckDatetime (Date checkDatetime)
    {
        set ("checkDatetime", checkDatetime);
    }

    /**
     * 获取退药申请对应请领单据号.
     * 
     * @return the withdrawApplyNo
     */
    public String getWithdrawApplyNo ()
    {
        return get ("withdrawApplyNo");
    }

    /**
     * 设置退药申请对应请领单据号.
     * 
     * @param withdrawApplyNo the withdrawApplyNo to set.
     */
    public void setWithdrawApplyNo (String withdrawApplyNo)
    {
        set ("withdrawApplyNo", withdrawApplyNo);
    }

    /**
     * 获取N=无药退药 Y=有药退药.
     * 
     * @return the withdrawType
     */
    public String getWithdrawType ()
    {
        return get ("withdrawType");
    }

    /**
     * 设置N=无药退药 Y=有药退药.
     * 
     * @param withdrawType the withdrawType to set.
     */
    public void setWithdrawType (String withdrawType)
    {
        set ("withdrawType", withdrawType);
    }

    /**
     * 获取配送目的地.
     * 
     * @return the destination
     */
    public String getDestination ()
    {
        return get ("destination");
    }

    /**
     * 设置配送目的地.
     * 
     * @param destination the destination to set.
     */
    public void setDestination (String destination)
    {
        set ("destination", destination);
    }

    /**
     * 获取药品批次号.
     * 
     * @return the phamBatchNo
     */
    public String getPhamBatchNo ()
    {
        return get ("phamBatchNo");
    }

    /**
     * 设置药品批次号.
     * 
     * @param phamBatchNo the phamBatchNo to set.
     */
    public void setPhamBatchNo (String phamBatchNo)
    {
        set ("phamBatchNo", phamBatchNo);
    }

    /**
     * 获取药品有效期.
     * 
     * @return the expiryDate
     */
    public Date getExpiryDate ()
    {
        return get ("expiryDate");
    }

    /**
     * 设置药品有效期.
     * 
     * @param expiryDate the expiryDate to set.
     */
    public void setExpiryDate (Date expiryDate)
    {
        set ("expiryDate", expiryDate);
    }

    /**
     * 获取用量.
     * 
     * @return the dosage
     */
    public Double getDosage ()
    {
        return get ("dosage");
    }

    /**
     * 设置用量.
     * 
     * @param dosage the dosage to set.
     */
    public void setDosage (Double dosage)
    {
        set ("dosage", dosage);
    }

    /**
     * 获取执行单位.
     * 
     * @return the dispenseUnit
     */
    public String getDispenseUnit ()
    {
        return get ("dispenseUnit");
    }

    /**
     * 设置执行单位.
     * 
     * @param dispenseUnit the dispenseUnit to set.
     */
    public void setDispenseUnit (String dispenseUnit)
    {
        set ("dispenseUnit", dispenseUnit);
    }

    /**
     * 获取医嘱执行次数.
     * 
     * @return the scheduleCount
     */
    public Integer getScheduleCount ()
    {
        return get ("scheduleCount");
    }

    /**
     * 设置医嘱执行次数.
     * 
     * @param scheduleCount the scheduleCount to set.
     */
    public void setScheduleCount (Integer scheduleCount)
    {
        set ("scheduleCount", scheduleCount);
    }

    public String getNurseUnitName ()
    {
        return get ("nurseUnitName");
    }

    public void setNurseUnitName (String nurseUnitName)
    {
        set ("nurseUnitName", nurseUnitName);
    }

    public String getWardName ()
    {
        return get ("wardName");
    }

    public void setWardName (String wardName)
    {
        set ("wardName", wardName);
    }

    /**
     * 获取药品剂量单位名称
     * 
     * @return
     */
    public String getPhamUnitName ()
    {
        return get ("phamUnitName");
    }

    /**
     * 设置药品剂量单位名称
     * 
     * @param phamUnitName
     */
    public void setPhamUnitName (String phamUnitName)
    {
        set ("phamUnitName", phamUnitName);
    }

    public String getDispenseUnitName ()
    {
        return get ("dispenseUnitName");
    }

    public void setDispenseUnitName (String dispenseUnitName)
    {
        set ("dispenseUnitName", dispenseUnitName);
    }

    public String getPerformDispensaryName ()
    {
        return get ("performDispensaryName");
    }

    public void setPerformDispensaryName (String performDispensaryName)
    {
        set ("performDispensaryName", performDispensaryName);
    }

    public String getChargeIndicatorName ()
    {
        return get ("chargeIndicatorName");
    }

    public void setChargeIndicatorName (String chargeIndicatorName)
    {
        set ("chargeIndicatorName", chargeIndicatorName);
    }

    public String getDispenseIndicatorName ()
    {
        return get ("dispenseIndicatorName");
    }

    public void setDispenseIndicatorName (String dispenseIndicatorName)
    {
        set ("dispenseIndicatorName", dispenseIndicatorName);
    }

    public String getDispenseByName ()
    {
        return get ("dispenseByName");
    }

    public void setDispenseByName (String dispenseByName)
    {
        set ("dispenseByName", dispenseByName);
    }

    public String getCheckByName ()
    {
        return get ("checkByName");
    }

    public void setCheckByName (String checkByName)
    {
        set ("checkByName", checkByName);
    }

    public String getWithdrawTypeName ()
    {
        return get ("withdrawTypeName");
    }

    public void setWithdrawTypeName (String withdrawTypeName)
    {
        set ("withdrawTypeName", withdrawTypeName);
    }

    public String getDestinationName ()
    {
        return get ("destinationName");
    }

    public void setDestinationName (String destinationName)
    {
        set ("destinationName", destinationName);
    }

    /**
     * 获取patientId
     * 
     * @return the patientId
     */
    public String getPatientId ()
    {
        return get ("patientId");
    }

    /**
     * 获取patientId
     * 
     * @param patientId the patientId to set.
     */
    public void setPatientId (String patientId)
    {
        set ("patientId", patientId);
    }

    /**
     * 获取visitCount
     * 
     * @return the visitCount
     */
    public Long getVisitCount ()
    {
        return get ("visitCount");
    }

    /**
     * 获取visitCount
     * 
     * @param visitCount the visitCount to set.
     */
    public void setVisitCount (Long visitCount)
    {
        set ("visitCount", visitCount);
    }

    /**
     * 获取patName
     * 
     * @return the patName
     */
    public String getPatName ()
    {
        return get ("patName");
    }

    /**
     * 获取patName
     * 
     * @param patName the patName to set.
     */
    public void setPatName (String patName)
    {
        set ("patName", patName);
    }

    /**
     * 获取dispensePrice
     * 
     * @return the dispensePrice
     */
    public Double getDispensePrice ()
    {
        return get ("dispensePrice");
    }

    /**
     * 获取dispensePrice
     * 
     * @param dispensePrice the dispensePrice to set.
     */
    public void setDispensePrice (Double dispensePrice)
    {
        set ("dispensePrice", dispensePrice);
    }

    /**
     * 获取actualDispenseAmount
     * 
     * @return the actualDispenseAmount
     */
    public Double getActualDispenseAmount ()
    {
        return get ("actualDispenseAmount");
    }

    /**
     * 获取actualDispenseAmount
     * 
     * @param actualDispenseAmount the actualDispenseAmount to set.
     */
    public void setActualDispenseAmount (Double actualDispenseAmount)
    {
        set ("actualDispenseAmount", actualDispenseAmount);
    }

    /**
     * 获取性别编码
     * 
     * @return
     */
    public String getGender ()
    {
        return get ("gender");
    }

    /**
     * 设置性别编码
     * 
     * @param gender
     */
    public void setGender (String gender)
    {
        set ("gender", gender);
    }

    /**
     * 获取性别名称
     * 
     * @return
     */
    public String getGenderName ()
    {
        return get ("genderName");
    }

    /**
     * 设置性别名称
     * 
     * @param genderName
     */
    public void setGenderName (String genderName)
    {
        set ("genderName", genderName);
    }

    /**
     * 获取费别
     * 
     * @return
     */
    public String getChargeType ()
    {
        return get ("chargeType");
    }

    /**
     * 设置费别类型
     * 
     * @param chargeType
     */
    public void setChargeType (String chargeType)
    {
        set ("chargeType", chargeType);
    }

    /**
     * 获取费别名称
     * 
     * @return
     */
    public String getChargeTypeName ()
    {
        return get ("chargeTypeName");
    }

    /**
     * 获取费别名称
     * 
     * @param chargeTypeName
     */
    public void setChargeTypeName (String chargeTypeName)
    {
        set ("chargeTypeName", chargeTypeName);
    }

    /**
     * 获取预交金余额
     * 
     * @return
     */
    public Double getBalance ()
    {
        return get ("balance");
    }

    /**
     * 设置预交金余额
     * 
     * @param balance
     */
    public void setBalance (Double balance)
    {
        set ("balance", balance);
    }
    
    public Date getStartTime ()
    {
        return get ("startTime");
    }
    public void setStartTime (Date startTime)
    {
        set ("startTime",startTime);
    }
    public Date getEndTime ()
    {
        return get ("endTime");
    }
    public void setEndTime (Date endTime)
    {
        set ("endTime",endTime);
    }

    /** 公司版权信息. */
    public static final String copyright = "Copyright 2014, TH Supcom Corporation";

    /** 提交路径. */
    public static final String SCC_BRANCH = "$URL$";

    /** 提交日期. */
    public static final String SCC_LAST_MODIFICATION_DATE = "$Date$";

    /** 最终修改人员. */
    public static final String SCC_LAST_MODIFIER_NAME = "$Author$";

    /** 最终版本号. */
    public static final String SCC_REVISION = "$Revision$";
}